/*
 * @Description: 
 * @Author: zhanyinjia
 * @Date: 2023-05-22 11:48:01
 * @LastEditors: zhanyinjia
 * @LastEditTime: 2023-05-23 10:34:16
 */
const tableList = [
  {
    orderId: 1,
    orderNo: 'HSD4521',
    materialList: [
      { materialCode: 'DS45211', materialName: '黄芪', price: 100, num: 1, taxRate: 0.03, amount: 100 },
      { materialCode: 'DS45212', materialName: '党参', price: 200, num: 2, taxRate: 0.03, amount: 400 },
      { materialCode: 'DS45214', materialName: '枸杞', price: 300, num: 1, taxRate: 0.03, amount: 300 }
    ]
  },
  {
    orderId: 2,
    orderNo: 'HSD4522',
    materialList: [
      { materialCode: 'DS45214', materialName: '枸杞', price: 100, num: 1, taxRate: 0.03, amount: 100 }
    ]
  },
  {
    orderId: 3,
    orderNo: 'HSD4523',
    materialList: [
      { materialCode: 'DS45211', materialName: '黄芪', price: 200, num: 3, taxRate: 0.03, amount: 600 },
      { materialCode: 'DS45214', materialName: '枸杞', price: 300, num: 1, taxRate: 0.03, amount: 300 }
    ]
  },
  {
    orderId: 4,
    orderNo: 'HSD4524',
    materialList: [
      { materialCode: 'DS45211', materialName: '黄芪', price: 100, num: 1, taxRate: 0.03, amount: 100 }
    ]
  },
  {
    orderId: 5,
    orderNo: 'HSD4525',
    materialList: [
      { materialCode: 'DS45214', materialName: '枸杞', price: 200, num: 1, taxRate: 0.03, amount: 200 },
      { materialCode: 'DS45212', materialName: '党参', price: 100, num: 1, taxRate: 0.03, amount: 100 }
    ]
  }
]

const summationMap = {
  num: 'numSum',
  amount: 'amountSum'
}
export { tableList, summationMap }